// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024


#include "../Public/Stamina.h"

#include <Kismet/KismetMathLibrary.h>
#include "Components/ProgressBar.h"

void UStamina::UpdateWidgetInfo(float NewStamina, float MaxStamina)
{
	ProgressBar_Stamina->SetPercent(UKismetMathLibrary::NormalizeToRange(NewStamina, 0, MaxStamina));
}
